package com.connectx.campusx.model.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import sun.tools.jconsole.CreateMBeanDialog;

import java.util.Date;

/**
 * this class is xxx.
 *
 * @auther yangbo
 * @date 2024/06/29
 */
@Data
public class BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "create_id")
    private Long createId;

    @TableField(value = "create_name")
    private String createName;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_id")
    private Long updateId;

    @TableField(value = "update_name")
    private String updateName;

    @TableField(value = "update_time")
    private Date updateTime;

    @TableLogic
    @TableField(value = "is_delete")
    private int isDelete;

    @TableField(value = "remark")
    private String remark;

}
